/**
 * jims
 */
package com.jims.master.modules.operation.dao;

import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.common.web.impl.BaseDto;
import com.jims.master.modules.operation.entity.OperationMaster;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 术后登记手术DAO接口
 * @author ZhuQ
 * @version 2017-04-13
 */
@MyBatisDao
public interface OperationMasterDao extends CrudDao<OperationMaster> {

    /*
    * 术后登记：按照手术时间查询未登记/已登记手术列表
    * @ZhuQ
    * */
	public List<OperationMaster> findByOperationTime (OperationMaster operationMaster);

    /*
    * 术后登记：根据clinicId获取未登记的手术详情
    * @ZhuQ
    * */
    public OperationMaster findByScheduledId (OperationMaster operationMaster);

    /**
     * emr接口--手术信息查询
     * @param visitId
     * @return
     * @author 赵宁
     */
    public List<BaseDto> findOperatorEmr(@Param("visitId")String visitId);
}